Skip to content

Webhook Endpoints: Add Deliveries Methods - #164

Open
n7studios wants to merge 1 commit into
masterfrom
add-webhook-endpoint-deliveries
Open

n7studios wants to merge 1 commit into
masterfrom
add-webhook-endpoint-deliveries

Conversation

@n7studios

Copy link
Copy Markdown
Contributor

Summary

Adds methods for the webhook delivery history endpoints:

  • get_webhook_endpoint_deliveries(): List a webhook endpoint's deliveries from the last 30 days, filterable by status and event type.
  • get_webhook_endpoint_delivery(): Get a single delivery with its attempts, and optionally the events sent.

Testing

  • testGetWebhookEndpointDeliveries: Test deliveries are returned for a webhook endpoint.
  • testGetWebhookEndpointDeliveriesWithStatus: Test the status filter.
  • testGetWebhookEndpointDeliveriesWithInvalidID: Test an invalid webhook endpoint ID returns an error.
  • testGetWebhookEndpointDelivery: Test a delivery triggered by creating a subscriber is returned, with the event type filter and payload included when requested.
  • testGetWebhookEndpointDeliveryWithInvalidID: Test an invalid delivery ID returns an error.

Checklist

@n7studios n7studios added this to the 2.9.0 milestone Nov 12, 2026
@n7studios n7studios self-assigned this Nov 12, 2026
@n7studios
n7studios marked this pull request as ready for review November 12, 2026 10:03
@n7studios
n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team November 12, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants